package com.lesson1;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 *
 * netty 全局配置
 * @author liliang
 * @date 2019/10/27.
 */
public class NettyConfig {

    /**
     * 用于记录和管理客户端的 channel
     */
    public static ChannelGroup clients = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
